<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Mes {

	var $CI;
	var $html;
	var $flashmsg;
	/**
	 * Constructor
	 */
	public function __construct($params = array())
	{

		$this->CI =& get_instance();
		$this->CI->load->library('session');

	}
	function flash_message()
	{

		$this->flashmsg = $this->CI->session->flashdata('message');

		if ($this->flashmsg != '')
		{
			$this->html ='<div id="flashmessage">'.$this->flashmsg.'</div>';
		}
		return $this->html;
	}



}
// END Mes Class

/* End of file Mes.php */
/* Location: ./system/libraries/Mes.php */